#include "StudentFactory.h"
#include "ESF_Student_t.h"
#include "FON_Student_t.h"
class StudentImp;

StudentImp* StudentFactory::CreateStudent(const std::string &name, const std::string &faculty){
	StudentImp* studentImp = 0;
	if(faculty.compare("ESF") == 0){
		studentImp = new ESF_Student_t(name,faculty);
	}
	else if(faculty.compare("FON") == 0){
		studentImp = new FON_Student_t(name,faculty);
	}
	return studentImp;
}